\(\int \frac {\sqrt {b d+2 c d x}}{(a+b x+c x^2)^2} \, dx\) [1302]

   Optimal result
   Rubi [A] (verified)
   Mathematica [C] (verified)
   Maple [B] (verified)
   Fricas [C] (verification not implemented)
   Sympy [F]
   Maxima [F(-2)]
   Giac [B] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 26, antiderivative size = 143 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx=-\frac {(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}-\frac {2 c \sqrt {d} \arctan \left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )}{\left (b^2-4 a c\right )^{5/4}}+\frac {2 c \sqrt {d} \text {arctanh}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )}{\left (b^2-4 a c\right )^{5/4}} \]

[Out]

-(2*c*d*x+b*d)^(3/2)/(-4*a*c+b^2)/d/(c*x^2+b*x+a)-2*c*arctan((d*(2*c*x+b))^(1/2)/(-4*a*c+b^2)^(1/4)/d^(1/2))*d
^(1/2)/(-4*a*c+b^2)^(5/4)+2*c*arctanh((d*(2*c*x+b))^(1/2)/(-4*a*c+b^2)^(1/4)/d^(1/2))*d^(1/2)/(-4*a*c+b^2)^(5/
4)

Rubi [A] (verified)

Time = 0.07 (sec) , antiderivative size = 143, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {701, 708, 335, 304, 209, 212} \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx=-\frac {2 c \sqrt {d} \arctan \left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{5/4}}+\frac {2 c \sqrt {d} \text {arctanh}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{5/4}}-\frac {(b d+2 c d x)^{3/2}}{d \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )} \]

[In]

Int[Sqrt[b*d + 2*c*d*x]/(a + b*x + c*x^2)^2,x]

[Out]

-((b*d + 2*c*d*x)^(3/2)/((b^2 - 4*a*c)*d*(a + b*x + c*x^2))) - (2*c*Sqrt[d]*ArcTan[Sqrt[d*(b + 2*c*x)]/((b^2 -
 4*a*c)^(1/4)*Sqrt[d])])/(b^2 - 4*a*c)^(5/4) + (2*c*Sqrt[d]*ArcTanh[Sqrt[d*(b + 2*c*x)]/((b^2 - 4*a*c)^(1/4)*S
qrt[d])])/(b^2 - 4*a*c)^(5/4)

Rule 209

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*ArcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 304

Int[(x_)^2/((a_) + (b_.)*(x_)^4), x_Symbol] :> With[{r = Numerator[Rt[-a/b, 2]], s = Denominator[Rt[-a/b, 2]]}
, Dist[s/(2*b), Int[1/(r + s*x^2), x], x] - Dist[s/(2*b), Int[1/(r - s*x^2), x], x]] /; FreeQ[{a, b}, x] &&  !
GtQ[a/b, 0]

Rule 335

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, Dist[k/c, Subst[I
nt[x^(k*(m + 1) - 1)*(a + b*(x^(k*n)/c^n))^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0]
 && FractionQ[m] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 701

Int[((d_) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[2*c*(d + e*x)^(m + 1
)*((a + b*x + c*x^2)^(p + 1)/(e*(p + 1)*(b^2 - 4*a*c))), x] - Dist[2*c*e*((m + 2*p + 3)/(e*(p + 1)*(b^2 - 4*a*
c))), Int[(d + e*x)^m*(a + b*x + c*x^2)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0]
 && EqQ[2*c*d - b*e, 0] && NeQ[m + 2*p + 3, 0] && LtQ[p, -1] &&  !GtQ[m, 1] && RationalQ[m] && IntegerQ[2*p]

Rule 708

Int[((d_) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[x^m*(
a - b^2/(4*c) + (c*x^2)/e^2)^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, m, p}, x] && NeQ[b^2 - 4*a*c, 0]
&& EqQ[2*c*d - b*e, 0]

Rubi steps \begin{align*} \text {integral}& = -\frac {(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}-\frac {c \int \frac {\sqrt {b d+2 c d x}}{a+b x+c x^2} \, dx}{b^2-4 a c} \\ & = -\frac {(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}-\frac {\text {Subst}\left (\int \frac {\sqrt {x}}{a-\frac {b^2}{4 c}+\frac {x^2}{4 c d^2}} \, dx,x,b d+2 c d x\right )}{2 \left (b^2-4 a c\right ) d} \\ & = -\frac {(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}-\frac {\text {Subst}\left (\int \frac {x^2}{a-\frac {b^2}{4 c}+\frac {x^4}{4 c d^2}} \, dx,x,\sqrt {d (b+2 c x)}\right )}{\left (b^2-4 a c\right ) d} \\ & = -\frac {(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}+\frac {(2 c d) \text {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d-x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )}{b^2-4 a c}-\frac {(2 c d) \text {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d+x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )}{b^2-4 a c} \\ & = -\frac {(b d+2 c d x)^{3/2}}{\left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )}-\frac {2 c \sqrt {d} \tan ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )}{\left (b^2-4 a c\right )^{5/4}}+\frac {2 c \sqrt {d} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )}{\left (b^2-4 a c\right )^{5/4}} \\ \end{align*}

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 0.38 (sec) , antiderivative size = 223, normalized size of antiderivative = 1.56 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx=\frac {\sqrt {d (b+2 c x)} \left (-\sqrt [4]{b^2-4 a c} (b+2 c x)^{3/2}+(1+i) c (a+x (b+c x)) \arctan \left (1-\frac {(1+i) \sqrt {b+2 c x}}{\sqrt [4]{b^2-4 a c}}\right )-(1+i) c (a+x (b+c x)) \arctan \left (1+\frac {(1+i) \sqrt {b+2 c x}}{\sqrt [4]{b^2-4 a c}}\right )+(1+i) c (a+x (b+c x)) \text {arctanh}\left (\frac {(1+i) \sqrt [4]{b^2-4 a c} \sqrt {b+2 c x}}{\sqrt {b^2-4 a c}+i (b+2 c x)}\right )\right )}{\left (b^2-4 a c\right )^{5/4} \sqrt {b+2 c x} (a+x (b+c x))} \]

[In]

Integrate[Sqrt[b*d + 2*c*d*x]/(a + b*x + c*x^2)^2,x]

[Out]

(Sqrt[d*(b + 2*c*x)]*(-((b^2 - 4*a*c)^(1/4)*(b + 2*c*x)^(3/2)) + (1 + I)*c*(a + x*(b + c*x))*ArcTan[1 - ((1 +
I)*Sqrt[b + 2*c*x])/(b^2 - 4*a*c)^(1/4)] - (1 + I)*c*(a + x*(b + c*x))*ArcTan[1 + ((1 + I)*Sqrt[b + 2*c*x])/(b
^2 - 4*a*c)^(1/4)] + (1 + I)*c*(a + x*(b + c*x))*ArcTanh[((1 + I)*(b^2 - 4*a*c)^(1/4)*Sqrt[b + 2*c*x])/(Sqrt[b
^2 - 4*a*c] + I*(b + 2*c*x))]))/((b^2 - 4*a*c)^(5/4)*Sqrt[b + 2*c*x]*(a + x*(b + c*x)))

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(293\) vs. \(2(121)=242\).

Time = 2.56 (sec) , antiderivative size = 294, normalized size of antiderivative = 2.06

method result size
derivativedivides \(16 c \,d^{3} \left (\frac {\left (2 c d x +b d \right )^{\frac {3}{2}}}{4 \left (4 a c \,d^{2}-b^{2} d^{2}\right ) \left (\left (2 c d x +b d \right )^{2}+4 a c \,d^{2}-b^{2} d^{2}\right )}+\frac {\sqrt {2}\, \left (\ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{32 \left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {5}{4}}}\right )\) \(294\)
default \(16 c \,d^{3} \left (\frac {\left (2 c d x +b d \right )^{\frac {3}{2}}}{4 \left (4 a c \,d^{2}-b^{2} d^{2}\right ) \left (\left (2 c d x +b d \right )^{2}+4 a c \,d^{2}-b^{2} d^{2}\right )}+\frac {\sqrt {2}\, \left (\ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{32 \left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {5}{4}}}\right )\) \(294\)
pseudoelliptic \(\frac {2 \left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}} \sqrt {d \left (2 c x +b \right )}\, \left (2 c x +b \right )+\sqrt {2}\, c d \left (c \,x^{2}+b x +a \right ) \left (\ln \left (\frac {\sqrt {d^{2} \left (4 a c -b^{2}\right )}-\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}} \sqrt {d \left (2 c x +b \right )}\, \sqrt {2}+d \left (2 c x +b \right )}{\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}} \sqrt {d \left (2 c x +b \right )}\, \sqrt {2}+\sqrt {d^{2} \left (4 a c -b^{2}\right )}+d \left (2 c x +b \right )}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {d \left (2 c x +b \right )}-\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}}}{\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {d \left (2 c x +b \right )}+\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}}}{\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}}}\right )\right )}{2 \left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}} \left (4 a c -b^{2}\right ) \left (c \,x^{2}+b x +a \right )}\) \(314\)

[In]

int((2*c*d*x+b*d)^(1/2)/(c*x^2+b*x+a)^2,x,method=_RETURNVERBOSE)

[Out]

16*c*d^3*(1/4*(2*c*d*x+b*d)^(3/2)/(4*a*c*d^2-b^2*d^2)/((2*c*d*x+b*d)^2+4*a*c*d^2-b^2*d^2)+1/32/(4*a*c*d^2-b^2*
d^2)^(5/4)*2^(1/2)*(ln((2*c*d*x+b*d-(4*a*c*d^2-b^2*d^2)^(1/4)*(2*c*d*x+b*d)^(1/2)*2^(1/2)+(4*a*c*d^2-b^2*d^2)^
(1/2))/(2*c*d*x+b*d+(4*a*c*d^2-b^2*d^2)^(1/4)*(2*c*d*x+b*d)^(1/2)*2^(1/2)+(4*a*c*d^2-b^2*d^2)^(1/2)))+2*arctan
(2^(1/2)/(4*a*c*d^2-b^2*d^2)^(1/4)*(2*c*d*x+b*d)^(1/2)+1)-2*arctan(-2^(1/2)/(4*a*c*d^2-b^2*d^2)^(1/4)*(2*c*d*x
+b*d)^(1/2)+1)))

Fricas [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.26 (sec) , antiderivative size = 980, normalized size of antiderivative = 6.85 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx=\frac {\left (\frac {c^{4} d^{2}}{b^{10} - 20 \, a b^{8} c + 160 \, a^{2} b^{6} c^{2} - 640 \, a^{3} b^{4} c^{3} + 1280 \, a^{4} b^{2} c^{4} - 1024 \, a^{5} c^{5}}\right )^{\frac {1}{4}} {\left (a b^{2} - 4 \, a^{2} c + {\left (b^{2} c - 4 \, a c^{2}\right )} x^{2} + {\left (b^{3} - 4 \, a b c\right )} x\right )} \log \left (\sqrt {2 \, c d x + b d} c^{3} d + {\left (b^{8} - 16 \, a b^{6} c + 96 \, a^{2} b^{4} c^{2} - 256 \, a^{3} b^{2} c^{3} + 256 \, a^{4} c^{4}\right )} \left (\frac {c^{4} d^{2}}{b^{10} - 20 \, a b^{8} c + 160 \, a^{2} b^{6} c^{2} - 640 \, a^{3} b^{4} c^{3} + 1280 \, a^{4} b^{2} c^{4} - 1024 \, a^{5} c^{5}}\right )^{\frac {3}{4}}\right ) - \left (\frac {c^{4} d^{2}}{b^{10} - 20 \, a b^{8} c + 160 \, a^{2} b^{6} c^{2} - 640 \, a^{3} b^{4} c^{3} + 1280 \, a^{4} b^{2} c^{4} - 1024 \, a^{5} c^{5}}\right )^{\frac {1}{4}} {\left (a b^{2} - 4 \, a^{2} c + {\left (b^{2} c - 4 \, a c^{2}\right )} x^{2} + {\left (b^{3} - 4 \, a b c\right )} x\right )} \log \left (\sqrt {2 \, c d x + b d} c^{3} d - {\left (b^{8} - 16 \, a b^{6} c + 96 \, a^{2} b^{4} c^{2} - 256 \, a^{3} b^{2} c^{3} + 256 \, a^{4} c^{4}\right )} \left (\frac {c^{4} d^{2}}{b^{10} - 20 \, a b^{8} c + 160 \, a^{2} b^{6} c^{2} - 640 \, a^{3} b^{4} c^{3} + 1280 \, a^{4} b^{2} c^{4} - 1024 \, a^{5} c^{5}}\right )^{\frac {3}{4}}\right ) - \left (\frac {c^{4} d^{2}}{b^{10} - 20 \, a b^{8} c + 160 \, a^{2} b^{6} c^{2} - 640 \, a^{3} b^{4} c^{3} + 1280 \, a^{4} b^{2} c^{4} - 1024 \, a^{5} c^{5}}\right )^{\frac {1}{4}} {\left (i \, a b^{2} - 4 i \, a^{2} c + i \, {\left (b^{2} c - 4 \, a c^{2}\right )} x^{2} + i \, {\left (b^{3} - 4 \, a b c\right )} x\right )} \log \left (\sqrt {2 \, c d x + b d} c^{3} d + {\left (i \, b^{8} - 16 i \, a b^{6} c + 96 i \, a^{2} b^{4} c^{2} - 256 i \, a^{3} b^{2} c^{3} + 256 i \, a^{4} c^{4}\right )} \left (\frac {c^{4} d^{2}}{b^{10} - 20 \, a b^{8} c + 160 \, a^{2} b^{6} c^{2} - 640 \, a^{3} b^{4} c^{3} + 1280 \, a^{4} b^{2} c^{4} - 1024 \, a^{5} c^{5}}\right )^{\frac {3}{4}}\right ) - \left (\frac {c^{4} d^{2}}{b^{10} - 20 \, a b^{8} c + 160 \, a^{2} b^{6} c^{2} - 640 \, a^{3} b^{4} c^{3} + 1280 \, a^{4} b^{2} c^{4} - 1024 \, a^{5} c^{5}}\right )^{\frac {1}{4}} {\left (-i \, a b^{2} + 4 i \, a^{2} c - i \, {\left (b^{2} c - 4 \, a c^{2}\right )} x^{2} - i \, {\left (b^{3} - 4 \, a b c\right )} x\right )} \log \left (\sqrt {2 \, c d x + b d} c^{3} d + {\left (-i \, b^{8} + 16 i \, a b^{6} c - 96 i \, a^{2} b^{4} c^{2} + 256 i \, a^{3} b^{2} c^{3} - 256 i \, a^{4} c^{4}\right )} \left (\frac {c^{4} d^{2}}{b^{10} - 20 \, a b^{8} c + 160 \, a^{2} b^{6} c^{2} - 640 \, a^{3} b^{4} c^{3} + 1280 \, a^{4} b^{2} c^{4} - 1024 \, a^{5} c^{5}}\right )^{\frac {3}{4}}\right ) - \sqrt {2 \, c d x + b d} {\left (2 \, c x + b\right )}}{a b^{2} - 4 \, a^{2} c + {\left (b^{2} c - 4 \, a c^{2}\right )} x^{2} + {\left (b^{3} - 4 \, a b c\right )} x} \]

[In]

integrate((2*c*d*x+b*d)^(1/2)/(c*x^2+b*x+a)^2,x, algorithm="fricas")

[Out]

((c^4*d^2/(b^10 - 20*a*b^8*c + 160*a^2*b^6*c^2 - 640*a^3*b^4*c^3 + 1280*a^4*b^2*c^4 - 1024*a^5*c^5))^(1/4)*(a*
b^2 - 4*a^2*c + (b^2*c - 4*a*c^2)*x^2 + (b^3 - 4*a*b*c)*x)*log(sqrt(2*c*d*x + b*d)*c^3*d + (b^8 - 16*a*b^6*c +
 96*a^2*b^4*c^2 - 256*a^3*b^2*c^3 + 256*a^4*c^4)*(c^4*d^2/(b^10 - 20*a*b^8*c + 160*a^2*b^6*c^2 - 640*a^3*b^4*c
^3 + 1280*a^4*b^2*c^4 - 1024*a^5*c^5))^(3/4)) - (c^4*d^2/(b^10 - 20*a*b^8*c + 160*a^2*b^6*c^2 - 640*a^3*b^4*c^
3 + 1280*a^4*b^2*c^4 - 1024*a^5*c^5))^(1/4)*(a*b^2 - 4*a^2*c + (b^2*c - 4*a*c^2)*x^2 + (b^3 - 4*a*b*c)*x)*log(
sqrt(2*c*d*x + b*d)*c^3*d - (b^8 - 16*a*b^6*c + 96*a^2*b^4*c^2 - 256*a^3*b^2*c^3 + 256*a^4*c^4)*(c^4*d^2/(b^10
 - 20*a*b^8*c + 160*a^2*b^6*c^2 - 640*a^3*b^4*c^3 + 1280*a^4*b^2*c^4 - 1024*a^5*c^5))^(3/4)) - (c^4*d^2/(b^10
- 20*a*b^8*c + 160*a^2*b^6*c^2 - 640*a^3*b^4*c^3 + 1280*a^4*b^2*c^4 - 1024*a^5*c^5))^(1/4)*(I*a*b^2 - 4*I*a^2*
c + I*(b^2*c - 4*a*c^2)*x^2 + I*(b^3 - 4*a*b*c)*x)*log(sqrt(2*c*d*x + b*d)*c^3*d + (I*b^8 - 16*I*a*b^6*c + 96*
I*a^2*b^4*c^2 - 256*I*a^3*b^2*c^3 + 256*I*a^4*c^4)*(c^4*d^2/(b^10 - 20*a*b^8*c + 160*a^2*b^6*c^2 - 640*a^3*b^4
*c^3 + 1280*a^4*b^2*c^4 - 1024*a^5*c^5))^(3/4)) - (c^4*d^2/(b^10 - 20*a*b^8*c + 160*a^2*b^6*c^2 - 640*a^3*b^4*
c^3 + 1280*a^4*b^2*c^4 - 1024*a^5*c^5))^(1/4)*(-I*a*b^2 + 4*I*a^2*c - I*(b^2*c - 4*a*c^2)*x^2 - I*(b^3 - 4*a*b
*c)*x)*log(sqrt(2*c*d*x + b*d)*c^3*d + (-I*b^8 + 16*I*a*b^6*c - 96*I*a^2*b^4*c^2 + 256*I*a^3*b^2*c^3 - 256*I*a
^4*c^4)*(c^4*d^2/(b^10 - 20*a*b^8*c + 160*a^2*b^6*c^2 - 640*a^3*b^4*c^3 + 1280*a^4*b^2*c^4 - 1024*a^5*c^5))^(3
/4)) - sqrt(2*c*d*x + b*d)*(2*c*x + b))/(a*b^2 - 4*a^2*c + (b^2*c - 4*a*c^2)*x^2 + (b^3 - 4*a*b*c)*x)

Sympy [F]

\[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx=\int \frac {\sqrt {d \left (b + 2 c x\right )}}{\left (a + b x + c x^{2}\right )^{2}}\, dx \]

[In]

integrate((2*c*d*x+b*d)**(1/2)/(c*x**2+b*x+a)**2,x)

[Out]

Integral(sqrt(d*(b + 2*c*x))/(a + b*x + c*x**2)**2, x)

Maxima [F(-2)]

Exception generated. \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx=\text {Exception raised: ValueError} \]

[In]

integrate((2*c*d*x+b*d)^(1/2)/(c*x^2+b*x+a)^2,x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(4*a*c-b^2>0)', see `assume?` f
or more deta

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 504 vs. \(2 (121) = 242\).

Time = 0.30 (sec) , antiderivative size = 504, normalized size of antiderivative = 3.52 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx=\frac {\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} + 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right )}{b^{4} d - 8 \, a b^{2} c d + 16 \, a^{2} c^{2} d} + \frac {\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} - 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right )}{b^{4} d - 8 \, a b^{2} c d + 16 \, a^{2} c^{2} d} - \frac {{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c \log \left (2 \, c d x + b d + \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right )}{\sqrt {2} b^{4} d - 8 \, \sqrt {2} a b^{2} c d + 16 \, \sqrt {2} a^{2} c^{2} d} + \frac {{\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c \log \left (2 \, c d x + b d - \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right )}{\sqrt {2} b^{4} d - 8 \, \sqrt {2} a b^{2} c d + 16 \, \sqrt {2} a^{2} c^{2} d} + \frac {4 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} c d}{{\left (b^{2} d^{2} - 4 \, a c d^{2} - {\left (2 \, c d x + b d\right )}^{2}\right )} {\left (b^{2} - 4 \, a c\right )}} \]

[In]

integrate((2*c*d*x+b*d)^(1/2)/(c*x^2+b*x+a)^2,x, algorithm="giac")

[Out]

sqrt(2)*(-b^2*d^2 + 4*a*c*d^2)^(3/4)*c*arctan(1/2*sqrt(2)*(sqrt(2)*(-b^2*d^2 + 4*a*c*d^2)^(1/4) + 2*sqrt(2*c*d
*x + b*d))/(-b^2*d^2 + 4*a*c*d^2)^(1/4))/(b^4*d - 8*a*b^2*c*d + 16*a^2*c^2*d) + sqrt(2)*(-b^2*d^2 + 4*a*c*d^2)
^(3/4)*c*arctan(-1/2*sqrt(2)*(sqrt(2)*(-b^2*d^2 + 4*a*c*d^2)^(1/4) - 2*sqrt(2*c*d*x + b*d))/(-b^2*d^2 + 4*a*c*
d^2)^(1/4))/(b^4*d - 8*a*b^2*c*d + 16*a^2*c^2*d) - (-b^2*d^2 + 4*a*c*d^2)^(3/4)*c*log(2*c*d*x + b*d + sqrt(2)*
(-b^2*d^2 + 4*a*c*d^2)^(1/4)*sqrt(2*c*d*x + b*d) + sqrt(-b^2*d^2 + 4*a*c*d^2))/(sqrt(2)*b^4*d - 8*sqrt(2)*a*b^
2*c*d + 16*sqrt(2)*a^2*c^2*d) + (-b^2*d^2 + 4*a*c*d^2)^(3/4)*c*log(2*c*d*x + b*d - sqrt(2)*(-b^2*d^2 + 4*a*c*d
^2)^(1/4)*sqrt(2*c*d*x + b*d) + sqrt(-b^2*d^2 + 4*a*c*d^2))/(sqrt(2)*b^4*d - 8*sqrt(2)*a*b^2*c*d + 16*sqrt(2)*
a^2*c^2*d) + 4*(2*c*d*x + b*d)^(3/2)*c*d/((b^2*d^2 - 4*a*c*d^2 - (2*c*d*x + b*d)^2)*(b^2 - 4*a*c))

Mupad [B] (verification not implemented)

Time = 0.14 (sec) , antiderivative size = 179, normalized size of antiderivative = 1.25 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx=\frac {2\,c\,\sqrt {d}\,\mathrm {atanh}\left (\frac {\sqrt {b\,d+2\,c\,d\,x}\,\left (16\,a^2\,c^2-8\,a\,b^2\,c+b^4\right )}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{9/4}}\right )}{{\left (b^2-4\,a\,c\right )}^{5/4}}-\frac {2\,c\,\sqrt {d}\,\mathrm {atan}\left (\frac {\sqrt {b\,d+2\,c\,d\,x}\,\left (16\,a^2\,c^2-8\,a\,b^2\,c+b^4\right )}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{9/4}}\right )}{{\left (b^2-4\,a\,c\right )}^{5/4}}+\frac {4\,c\,d\,{\left (b\,d+2\,c\,d\,x\right )}^{3/2}}{\left (4\,a\,c-b^2\right )\,\left ({\left (b\,d+2\,c\,d\,x\right )}^2-b^2\,d^2+4\,a\,c\,d^2\right )} \]

[In]

int((b*d + 2*c*d*x)^(1/2)/(a + b*x + c*x^2)^2,x)

[Out]

(2*c*d^(1/2)*atanh(((b*d + 2*c*d*x)^(1/2)*(b^4 + 16*a^2*c^2 - 8*a*b^2*c))/(d^(1/2)*(b^2 - 4*a*c)^(9/4))))/(b^2
 - 4*a*c)^(5/4) - (2*c*d^(1/2)*atan(((b*d + 2*c*d*x)^(1/2)*(b^4 + 16*a^2*c^2 - 8*a*b^2*c))/(d^(1/2)*(b^2 - 4*a
*c)^(9/4))))/(b^2 - 4*a*c)^(5/4) + (4*c*d*(b*d + 2*c*d*x)^(3/2))/((4*a*c - b^2)*((b*d + 2*c*d*x)^2 - b^2*d^2 +
 4*a*c*d^2))